Optimal. Leaf size=61 \[ -4 a^2 c^3 x+\frac {a c^3 (a-b x)^2}{b}+\frac {c^3 (a-b x)^3}{3 b}+\frac {8 a^3 c^3 \log (a+b x)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {45}
\begin {gather*} \frac {8 a^3 c^3 \log (a+b x)}{b}-4 a^2 c^3 x+\frac {c^3 (a-b x)^3}{3 b}+\frac {a c^3 (a-b x)^2}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rubi steps
\begin {align*} \int \frac {(a c-b c x)^3}{a+b x} \, dx &=\int \left (-4 a^2 c^3+\frac {8 a^3 c^3}{a+b x}-2 a c^2 (a c-b c x)-c (a c-b c x)^2\right ) \, dx\\ &=-4 a^2 c^3 x+\frac {a c^3 (a-b x)^2}{b}+\frac {c^3 (a-b x)^3}{3 b}+\frac {8 a^3 c^3 \log (a+b x)}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 42, normalized size = 0.69 \begin {gather*} c^3 \left (-7 a^2 x+2 a b x^2-\frac {b^2 x^3}{3}+\frac {8 a^3 \log (a+b x)}{b}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.15, size = 41, normalized size = 0.67
method | result | size |
default | \(c^{3} \left (-\frac {b^{2} x^{3}}{3}+2 a b \,x^{2}-7 a^{2} x +\frac {8 a^{3} \ln \left (b x +a \right )}{b}\right )\) | \(41\) |
norman | \(-7 a^{2} c^{3} x -\frac {b^{2} c^{3} x^{3}}{3}+2 a \,c^{3} b \,x^{2}+\frac {8 a^{3} c^{3} \ln \left (b x +a \right )}{b}\) | \(49\) |
risch | \(-7 a^{2} c^{3} x -\frac {b^{2} c^{3} x^{3}}{3}+2 a \,c^{3} b \,x^{2}+\frac {8 a^{3} c^{3} \ln \left (b x +a \right )}{b}\) | \(49\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 48, normalized size = 0.79 \begin {gather*} -\frac {1}{3} \, b^{2} c^{3} x^{3} + 2 \, a b c^{3} x^{2} - 7 \, a^{2} c^{3} x + \frac {8 \, a^{3} c^{3} \log \left (b x + a\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.48, size = 52, normalized size = 0.85 \begin {gather*} -\frac {b^{3} c^{3} x^{3} - 6 \, a b^{2} c^{3} x^{2} + 21 \, a^{2} b c^{3} x - 24 \, a^{3} c^{3} \log \left (b x + a\right )}{3 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 49, normalized size = 0.80 \begin {gather*} \frac {8 a^{3} c^{3} \log {\left (a + b x \right )}}{b} - 7 a^{2} c^{3} x + 2 a b c^{3} x^{2} - \frac {b^{2} c^{3} x^{3}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.42, size = 59, normalized size = 0.97 \begin {gather*} \frac {8 \, a^{3} c^{3} \log \left ({\left | b x + a \right |}\right )}{b} - \frac {b^{5} c^{3} x^{3} - 6 \, a b^{4} c^{3} x^{2} + 21 \, a^{2} b^{3} c^{3} x}{3 \, b^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 48, normalized size = 0.79 \begin {gather*} \frac {8\,a^3\,c^3\,\ln \left (a+b\,x\right )}{b}-\frac {b^2\,c^3\,x^3}{3}-7\,a^2\,c^3\,x+2\,a\,b\,c^3\,x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________